private void createRoomImageBtn_Click(object sender, EventArgs e) { CreateRoom_Form createroom = new CreateRoom_Form(this); createroom.Show(); this.Enabled = false; }
public StandByLogin(Mainform c, CreateRoom_Form cRF) { InitializeComponent(); mainform = c; createroom = cRF; contextMenuStripForm = mainform.contextMenuStripForm; contextMenuStripForm.standbyLogin = this; }
public StandByLogin(Mainform c, CreateRoom_Form cc, UserList_Form u) { InitializeComponent(); mainform = c; createroom = cc; userlistform = u; contextMenuStripForm = mainform.contextMenuStripForm; contextMenuStripForm.standbyLogin = this; }
public UserList_Form(ListBox listBox, CreateRoom_Form createroom, ContextMenuStripForm c) { InitializeComponent(); this.listBox = listBox; this.createroom = createroom; createroom.Enabled = false; checkedArray = new List <string>(); initFont(); contextmenustripform = c; contextmenustripform.userlistform = this; contextmenustripform.IconVisibletrue(); }
private void createroomToolStripMenuItem_MouseUp(object sender, MouseEventArgs e) { switch (e.Button) { case MouseButtons.Left: CreateRoom_Form createroom = new CreateRoom_Form(mainform); createroom.Show(); mainform.Enabled = false; break; case MouseButtons.Right: // Right click break; } }