Programming/c# & winform2020. 9. 10. 13:57

토글 버튼은 없기에 체크박스의 표현방식(Apperance)를 Normal이 아니라 Button으로 해주면 되지만

이상태에서는 폭을 사용자가 지정할 수는 없게 된다.

 

 

그리고 해당 버튼이 눌려있는 상태인지 눌리지 않은 상태인지 확인하기 위해서는

Checked 변수를 확인하면 되고 버튼의 내용을 바꾸기 위해서는 Text 변수를 사용하면 된다.

 

        private void checkBox19_CheckedChanged(object sender, EventArgs e)
        {
            if(checkBox19.Checked == true)
            {
                // Connect
                checkBox19.Text = "Disconnect";
            }
            else
            {
                // Disconnect
                checkBox19.Text = "Connect";
            }
        }

 

[링크 : https://bemeal2.tistory.com/263]

[링크 : https://docs.microsoft.com/ko-kr/dotnet/api/system.windows.forms.checkbox.checked?view=netcore-3.1]

'Programming > c# & winform' 카테고리의 다른 글

c# 에서 함수 인자로 포인터 사용을 못함?  (0) 2020.09.14
c# winform에서 #define 대신...?  (0) 2020.09.14
winform 컨트롤 변수  (0) 2020.09.10
c# on ubuntu / mono  (0) 2020.09.10
winform에서 winsock 사용하기  (0) 2020.09.09
Posted by 구차니
Programming/c# & winform2020. 9. 10. 13:16

MFC에서는 변수를 일일이 추가해주지 않으면

GetDlgItem("IDC_TEXT1") 이런식으로 받아왔어야 하는데

변수까지는 자동으로 추가되서 매우 편하게 쓸 수 있게 변했네

(솔찍히 그거 보단 GUI 까지 무료로 풀어주는 대인배로 바뀐거 더 크지만?)

 

[링크 : https://yaraba.tistory.com/248]

Posted by 구차니
Programming/c# & winform2020. 9. 10. 11:18

mono를 이용해서 winform도 돌릴수 있다고 하는데

개발 환경 자체는 visual studio community를 끌어갈순 없는건가?

 

[링크 : https://markheath.net/post/running-windows-forms-on-linux-with-mono]

[링크 : https://www.mono-project.com/docs/gui/winforms/]

Posted by 구차니
하드웨어/Storage2020. 9. 9. 17:07

리눅스에서는 그냥 mount 하면 되긴 하지만 SSH 통해서 콘솔에서 하기 싫어서 찾아보니

File Statoin에서 Tools - Mount Remote Folder로 해서 NFS와 삼바를 연결할 수 있는 것으로 확인된다.

 

[링크 : https://www.synology.com/en-global/knowledgebase/DSM/help/FileStation/mountremotevolume]

'하드웨어 > Storage' 카테고리의 다른 글

synology DS213j 소비전력  (2) 2020.09.14
d-link DNS-343  (0) 2020.09.14
D-Link DNS-343 대실망쇼 -_-  (0) 2020.09.08
시놀로지 로그인 시도 차단하기  (2) 2019.07.30
disk error recovery - TLER(WD)  (0) 2019.03.13
Posted by 구차니
Programming/c# & winform2020. 9. 9. 16:44

server socket이 아니라 client socket을 필요로 하니 찾아서 봐야지 머...

 

[링크 : https://blog.naver.com/aaaaa0940/80154520356] 쓰레드

[링크 : https://blog.naver.com/99sul99/220411092997] 비동기(?) 콜백사용

 

[링크 : https://slaner.tistory.com/171] 서버

[링크 : https://slaner.tistory.com/173] 클라이언트

 

+

2020.09.10

상태표시바 까지 추가해서 거기에 메시지 출력까지 하니 좋아보임

[링크 : https://www.winsocketdotnetworkprogramming.com/threadingasynchronouspatterninnetwork3b.html]

'Programming > c# & winform' 카테고리의 다른 글

c# 에서 함수 인자로 포인터 사용을 못함?  (0) 2020.09.14
c# winform에서 #define 대신...?  (0) 2020.09.14
c# winform - 토글 버튼 (checkbox)  (0) 2020.09.10
winform 컨트롤 변수  (0) 2020.09.10
c# on ubuntu / mono  (0) 2020.09.10
Posted by 구차니

17~34, 50세이상 통신비 2만원 지원

[링크 : https://news.v.daum.net/v/20200908190102122]

 

35~49세는 다른거로 지원을 받으니 제외라는데

어떻게 보면 적지 않은 2만원이긴 하지만 정작 내가 제외되었다니 서럽네

 

근데 받아도 억울할게.. LTE egg랑 핸드폰 합쳐봤자 2만원이 안됨 ㅋ

 

솔찍히 일회성으로 고작 2만원 할인 해준다고 쑈할바에는

초기 원안(?)대로 통신비 줄일수 있도록 알뜰폰을 쓰게 하거나

3사 통신비 담합이나 불법 지원금을 제대로 처리해서

정말로 저렴해지게 하는게 더 좋지 않나.. 그게 더 옳은 방법이 아닐까 생각이 된다.

'개소리 왈왈 > 정치관련 신세한탄' 카테고리의 다른 글

사면?  (0) 2021.01.01
의사 만세구만  (0) 2020.12.31
아따 줄길다..  (0) 2020.04.15
기사 - 자가격리자에 '전자팔찌' 착용 가닥  (2) 2020.04.06
오늘의 늬우스  (4) 2019.12.12
Posted by 구차니
Linux/Ubuntu2020. 9. 8. 19:20

예전에 했었는데 왜 그때는 안되었고 지금은 될까 -ㅁ-?

2019/12/28 - [개소리 왈왈/컴퓨터] - 2760p wacom 화면 멀티터치 살리기

 

바탕화면에서 아이콘이 작을 경우 클릭이 거의 안되고(안되는건지 거의 안되는건지 모르겠다)

크롬과 PDF 뷰어에서 정상작동하는걸 확인했으니 쓸만할 듯

 

 

1회성으로 테스트

$ xsetwacom --set "Wacom Serial Penabled 2FG Touchscreen Finger touch" Gesture off

[링크 : https://askubuntu.com/questions/1140062/]

 

영구 설정

ubuntu 18.04 / HP 2760p 확인

$ sudo vi /usr/share/X11/xorg.conf.d/81-local-touchscreen-tweaks.conf
# Tweaks for the Wacom touchscreen on a ThinkPad X201 Tablet.
Section "InputClass"
    Identifier "local touchscreen tweaks"

    # Product to configure.
    MatchProduct "Wacom Serial Penabled 2FG Touchscreen Finger"

    # Driver to use for this device.
    # (Identical to the default, so not essential to mention.)
    Driver "wacom"

    # Disable multi-touch gestures to fix tap-to-click issues.
    Option "Gesture" "off"
EndSection

[링크 : https://askubuntu.com/questions/1051343/where-is-the-xorg-conf-file-in-ubuntu-18-04]

 

 

Posted by 구차니
하드웨어/Storage2020. 9. 8. 17:02

raid1이라 부하는 안걸릴거라고 생각을 하는데

2009년 즈음의 구형이다 보니.. 기가비트를 못 버티는 듯?

(그냥 쓰는거랑 RAID5는 EXT2-기본, EXT3-선택으로 고르게 되어있다)

 

업로드 하는데 12MB/s 아니.. 분명 기가비트로 붙었는데 왜?!?! 100Mbps 급 속도?!

다운로드 하는데 30MB/s 언저리. 최소한 다운로드 속도는 조금 나오는걸 봐서 CPU 성능 문제로 봐야 하나?

 

혹시... 하드가 문제인가...?

아니 벤치 상으로도 그거 이상은 나와야 하는데?!?!?!

[링크 : https://hdd.userbenchmark.com/SpeedTest/1110/SAMSUNG-HD103SI]

 

 

다시 해보니

단일 하드로 쓸 때 외에는 파일 시스템을 물어보지 않는다.

EXT2와 EXT3를 사용가능한데 그거 속도 차이가 있으려나?

 

벤치마크.. 절래절래..

[링크 : https://www.smallnetbuilder.com/nas/nas-reviews/30535-the-four-drive-dns-323-d-link-dns-343-reviewed?showall=&start=3]

 

 

+ 2020.09.09

RAID5로 구성하고 다운로드 하니 35MB/s 정도 나온다.

절래절래..

'하드웨어 > Storage' 카테고리의 다른 글

d-link DNS-343  (0) 2020.09.14
시놀로지 외부 스토리지 연결하기  (0) 2020.09.09
시놀로지 로그인 시도 차단하기  (2) 2019.07.30
disk error recovery - TLER(WD)  (0) 2019.03.13
2.5인치 SAS/SATA 트레이  (0) 2019.02.28
Posted by 구차니
embeded/arduino(genuino)2020. 9. 8. 15:25

오.. 맨날 시리얼 모니터만 봤는데 이런 기능이!

 

[링크 : https://blog.naver.com/cherrychance/221339259943]

[링크 : https://blog.naver.com/roboholic84/220636488242]

'embeded > arduino(genuino)' 카테고리의 다른 글

아두이노 Serial.print()와 Serial.write()  (0) 2022.11.14
아두이노 USB HID  (0) 2021.05.07
TEA5767 살까 말까..  (0) 2020.06.15
지름신 축적중  (0) 2020.06.10
ULN2003 보드 / 28BYJ-48 스텝 모터  (0) 2020.05.05
Posted by 구차니

arm에서 가상화 관련해 만든 MMU인듯

[링크 : http://jake.dothome.co.kr/iommu/]

[링크 : https://developer.arm.com/ip-products/system-ip/system-controllers/system-memory-management-unit]

[링크 : https://en.wikipedia.org/wiki/Input%E2%80%93output_memory_management_unit]

 

System Memory Management Unit (SMMU)

[링크 : https://developer.arm.com/.../Arm%20Enterprise%20Virtualization%20whitepaper.pdf?...]

'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

파일 스토리지, 블록 스토리지, 오브젝트 스토리지  (0) 2020.09.18
lustre file system  (0) 2020.09.18
zmmu gen-z  (0) 2020.09.07
async와 non block  (0) 2020.01.20
EAV - Entitiy Attribute Value  (0) 2019.12.15
Posted by 구차니