private void tsmConfig_Click(object sender, EventArgs e) { frmConfig frm = new frmConfig(); frm.MdiParent = this; frm.Show(); }
private void OpenConfigForm() { var f = new frmConfig(); f.ConfigHasChanged += LoadData; f.StartPosition = FormStartPosition.CenterScreen; f.Show(); }
/// <summary> /// コンフィグ画面呼び出し /// </summary> public void setControlConfigView() { // コンフィグ画面起動 frmConfig frmConfigView = new frmConfig(); frmConfigView.TopLevel = false; pnFrmArea.Controls.Add(frmConfigView); frmConfigView.BackColor = ColorTranslator.FromHtml(SettingsData.sSettingBackColor); frmConfigView.Show(); }
private void btnConfig_Click(object sender, EventArgs e) { bool aberto = false; foreach (Form frm in this.MdiChildren) { if (frm is frmConfig) { frm.BringToFront(); aberto = true; } } if (!aberto) { pctLogo.Visible = false; frmConfig conf = new frmConfig(); conf.MdiParent = this; conf.Show(); } }
private void menuMain_System_SetupConfig_Click(object sender, EventArgs e) { frmConfig fc = new frmConfig(); fc.Show(); }
private void miConfig_Click(object sender, EventArgs e) { frmConfig frm = new frmConfig(); frm.Show(); }
private void ConfiguraçõesToolStripMenuItem_Click(object sender, EventArgs e) { frmConfig frmConfig = new frmConfig(); frmConfig.Show(); }