public ScriptEditForm(DesignForm mainForm) : base(mainForm) { this.InitializeComponent(); this.ShowHint = DockState.Document; this.DockAreas = DockAreas.Document; }
/// <summary> /// Overloaded Constructor /// </summary> /// <param name="_name">Name of <see cref="KO_GUI"/></param> /// <param name="_id">ID of the <see cref="KO_GUI"/></param> public KO_GUI(string _name, int _id) { Name_GUI = _name; ID_GUI = _id; KO_CV_FL_GUI = new KO_CornverVariables(VehicleCorner.FrontLeft); KO_CV_FR_GUI = new KO_CornverVariables(VehicleCorner.FrontRight); KO_CV_RL_GUI = new KO_CornverVariables(VehicleCorner.RearLeft); KO_CV_RR_GUI = new KO_CornverVariables(VehicleCorner.RearRight); KO_Central = new KO_CentralVariables(); KO_SimParams = new KO_SimulationParams(); //xuc_KO = new XUC_KinematicOptimization(); //Param_Imp_Form = new ParametersAndImportance(); Design_Form = new DesignForm(); Design_Form.Set_KO_Variables(ref KO_Central, ref KO_CV_FL_GUI, ref KO_CV_FR_GUI, ref KO_CV_RL_GUI, ref KO_CV_RR_GUI); Design_Form.Set_KO_SimulationParams(ref KO_SimParams); /////<summary>Passing the <see cref="KO_CornverVariables"/> Objects of the 4 corners to the <see cref="Param_Imp_Form"/></summary> //Param_Imp_Form.SetCornerVariables(KO_CV_FL_GUI, KO_CV_FR_GUI, KO_CV_RL_GUI, KO_CV_RR_GUI); }
public override void btncancel_Click(object sender, EventArgs e) { add_edit = false; c.GetMdiParent(this).EnableAllEditMenuButtons(); DesignForm.fromDesign1(this); }
private void btnedit_Click(object sender, EventArgs e) { add_edit = false; c.btndisable(btnnew, btnedit, btndelete, btnsave, btncancel, btnprint, btnexit); txtbookname.Focus(); DesignForm.fromDesign2(this); }
private void FrmHostalFee_Load(object sender, EventArgs e) { c.getconnstr(); c.GetMdiParent(this).EnableAllEditMenuButtons(); DesignForm.fromDesign1(this); }
private void designButton_Click(object sender, EventArgs e) { DesignForm lf = new DesignForm(ledDisplay1); lf.ShowDialog(); lf.Dispose(); }
public override void btnedit_Click(object sender, EventArgs e) { add_edit = false; c.GetMdiParent(this).DisableAllEditMenuButtons(); ATxtScholar.Focus(); DesignForm.fromDesign1(this); }
/// <summary> /// Constructor /// </summary> /// <param name="_koCV">Object of the <see cref="KO_CornverVariables"/> Class</param> /// <param name="_vCorner">Corner of the Vehicle which is being computed</param> /// <param name="_vehicle">The <see cref="Vehicle"/> item itself</param> public KO_Solver(ref KO_CornverVariables _koCV, ref KO_CentralVariables _koCentral, ref KO_SimulationParams _simpParams, VehicleCorner _vCorner, ref DesignForm _designForm, OptimizaionParameter _optParam) { KO_CV = _koCV; VCorner = _vCorner; KO_Central = _koCentral; SimParams = _simpParams; Design_Form = _designForm; optParam = _optParam; if (optParam == OptimizaionParameter.BumpSteer) { Initialize_Optimizer_BS(); } else if (optParam == OptimizaionParameter.SpringMotionRatio) { Initialize_Optimizer_ActuationPoints_RockerPoints(); } else if (optParam == OptimizaionParameter.ARBMotionRatio) { } }
private void button9_Click(object sender, EventArgs e) { this.Hide(); var x = new DesignForm(); x.Show(); }
public ReportTreeForm(DesignForm mainForm) : base(mainForm) { this.HideOnClose = true; this.ShowHint = DockState.DockRight; this.DockAreas = DockAreas.DockLeft | DockAreas.DockRight | DockAreas.DockTop | DockAreas.DockBottom; }
private void FrmCashPyt_Load(object sender, EventArgs e) { c.GetMdiParent(this).EnableAllEditMenuButtons(); c.getconnstr(); c.FillcomboBox("select * from tbl_account where actype not in (dbo.GetAccountCode('C')) order by acname", "acname", "accode", ref valcmbaccountgroup); txtsession.Text = Convert.ToString(school.CurrentSessionCode); DesignForm.fromDesign1(this); }
internal PropertyEditForm(DesignForm mainForm) : base(mainForm) { this.HideOnClose = true; this.ShowHint = DockState.DockRight; this.DockAreas = DockAreas.DockLeft | DockAreas.DockRight | DockAreas.DockTop | DockAreas.DockBottom; }
public ControlDesign() { InitializeComponent(); using (DesignForm form = new DesignForm()) { this.BackColor = form.BackColor; } }
private void FrmAccountType_Load(object sender, EventArgs e) { c.GetMdiParent(this).EnableAllEditMenuButtons(); c.getconnstr(); c.FillListBox("select * from tbl_actype", "acdesc", "actype", ref listBox1); DesignForm.fromDesign1(this); }
private void FrmBusDeails_Load(object sender, EventArgs e) { showGrid(); dgv1.Enabled = false; c.GetMdiParent(this).EnableAllEditMenuButtons(); DesignForm.fromDesign1(this); }
private void FrmHostal_Load(object sender, EventArgs e) { c.GetMdiParent(this).EnableAllEditMenuButtons(); c.getconnstr(); c.FillListBox("select * from tbl_hostel", "hostelname", "hostelcode", ref listBox1); DesignForm.fromDesign1(this); }
public override void btnedit_Click(object sender, EventArgs e) { add_edit = false; c.GetMdiParent(this).DisableAllEditMenuButtons(); txtvoucherno.ReadOnly = false; txtvoucherno.Focus(); DesignForm.fromDesign2(this); }
public override void btnnew_Click(object sender, EventArgs e) { add_edit = true; c.cleartext(this); c.GetMdiParent(this).DisableAllEditMenuButtons(); ATxtScholar.Focus(); cmbmonth.SelectedIndex = 0; DesignForm.fromDesign2(this); }
public FindReplaceForm(DesignForm mainForm) : base(mainForm) { this.InitializeComponent(); this.HideOnClose = true; this.ShowHint = DockState.Float; this.DockAreas = DockAreas.DockLeft | DockAreas.DockRight | DockAreas.DockTop | DockAreas.DockBottom | DockAreas.Float; }
public DesignEditForm(DesignForm mainForm) : base(mainForm) { this.InitializeComponent(); this.ShowHint = DockState.Document; this.DockAreas = DockAreas.Document; this.toolcboZoom.SelectedIndex = 11; }
public override void btnnew_Click(object sender, EventArgs e) { DesignForm.fromDesign2(this); add_edit = true; c.cleartext(this); c.GetMdiParent(this).DisableAllEditMenuButtons(); txtclassname.Focus(); DesignForm.fromDesign2(this); }
public override void btnedit_Click(object sender, EventArgs e) { add_edit = false; c.GetMdiParent(this).DisableAllEditMenuButtons(); DesignForm.fromDesign2(this); dgv1.Focus(); dgv1.Enabled = true; c.GetMdiParent(this).ToggleDeleteButton(true); }
public override void btnnew_Click(object sender, EventArgs e) { add_edit = true; c.cleartext(this); c.GetMdiParent(this).DisableAllEditMenuButtons(); dtgbook.Rows.Clear(); dtp.Focus(); DesignForm.fromDesign2(this); txtvoucherno.Enabled = false; }
private void FrmBook_Load(object sender, EventArgs e) { c.btnenable(btnnew, btnedit, btndelete, btnsave, btncancel, btnprint, btnexit); c.getconnstr(); c.FillcomboBox("select * from tbl_publisher order by publishar", "publishar", "publishcode", ref valcmbpublisher); c.FillcomboBox("select * from tbl_subject order by subjectname", "subjectname", "subjectno", ref valcmbsubject); c.FillListBox("select * from tbl_book", "bookname", "bookno", ref listBox1); btnnew.Focus(); DesignForm.fromDesign1(this); }
public override void btnedit_Click(object sender, EventArgs e) { DesignForm.fromDesign2(this); add_edit = false; c.GetMdiParent(this).DisableAllEditMenuButtons(); listBox1.Focus(); c.GetMdiParent(this).ToggleDeleteButton(true); BtnSearch.Visible = true; DesignForm.fromDesign2(this); }
private void FrmAccount_Load(object sender, EventArgs e) { c.GetMdiParent(this).EnableAllEditMenuButtons(); c.getconnstr(); c.FillcomboBox("select * from tbl_actype order by acdesc", "acdesc", "actype", ref valcmbaccountgroup); c.FillListBox("select * from tbl_account", "acname", "accode", ref listBox1); c.FillcomboBox("select * from tbl_account", "acname", "accode", ref valcmbparent); BtnSearch.Visible = false; DesignForm.fromDesign1(this); }
public override void btnnew_Click(object sender, EventArgs e) { try { add_edit = true; c.cleartext(this); c.GetMdiParent(this).DisableAllEditMenuButtons(); DesignForm.fromDesign2(this); } catch (Exception ex) { MessageBox.Show(ex.Message); } }
public override void btncancel_Click(object sender, EventArgs e) { add_edit = false; c.GetMdiParent(this).EnableAllEditMenuButtons(); dtgbook.Rows.Clear(); for (int i = 0; i <= 25; i++) { dtgbook.Rows.Add(); } DesignForm.fromDesign1(this); }
public override void btnnew_Click(object sender, EventArgs e) { try { add_edit = true; c.GetMdiParent(this).DisableAllEditMenuButtons(); txtaccountgroup.Focus(); c.cleartext(this); DesignForm.fromDesign2(this); } catch { } }
public override void btnnew_Click(object sender, EventArgs e) { try { add_edit = true; txtRTONo.Focus(); c.cleartext(this); getId(); c.GetMdiParent(this).DisableAllEditMenuButtons(); DesignForm.fromDesign2(this); txtBusNo.Enabled = false; txtRTONo.Focus(); } catch { } }