public Login() { InitializeComponent(); ff = new FontSet(); initFont(); contextmenustripform.initFont(); }
public register(ContextMenuStripForm c) { InitializeComponent(); initFont(); registerCheck = true; contextMenuStripForm = c; contextMenuStripForm.register_form = this; contextMenuStripForm.IconVisibletrue(); contextMenuStripForm.initFont(); }
//static powerMode mode; //public static bool logoutCheck = false; public Mainform(ContextMenuStripForm c) { InitializeComponent(); //mode = new powerMode(this); tempID = UserInfo.userId; SystemEvents.PowerModeChanged += powerMode.systemSleepMethod; //절전모드 잠금모드 실행 contextMenuStripForm = c; contextMenuStripForm.mainform = this; contextMenuStripForm.initFont(); contextMenuStripForm.IconVisibletrue(); participateRoomList.View = View.Details; participateRoomList.BeginUpdate(); participateRoomList.GridLines = false; participateRoomList.FullRowSelect = true; participateRoomList.CheckBoxes = false; // listView1.LabelEdit = true; participateRoomList.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; //participateRoomList.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; participateRoomList.Columns.Add("Key", 40, HorizontalAlignment.Center); participateRoomList.Columns.Add("방장", -1, HorizontalAlignment.Center); participateRoomList.Columns.Add("인원", 50, HorizontalAlignment.Left); participateRoomList.Columns.Add("제목", -1, HorizontalAlignment.Center); toolTip.AutoPopDelay = 5000; toolTip.InitialDelay = 100; toolTip.ReshowDelay = 500; toolTip.ShowAlways = true; //toolTip.IsBalloon = true; toolTip.SetToolTip(this.menuImageBtn, "메뉴"); toolTip.SetToolTip(this.createRoomImageBtn, "방생성"); toolTip.SetToolTip(this.resetBtn, "새로고침"); toolTip.SetToolTip(this.participateRoomList, "키, 방제목, 인원, 방장"); searchlineImg.Controls.Add(searchImg); searchImg.Location = new Point(15, 5); searchImg.BackColor = Color.Transparent; initFont(); }