private void butAdd_Click(object sender, System.EventArgs e) { MountDef mount = new MountDef(); FormMountDefEdit FormM = new FormMountDefEdit(mount); FormM.IsNew = true; FormM.ShowDialog(); FillList(); changed = true; }
private void listMain_DoubleClick(object sender, System.EventArgs e) { if (listMain.SelectedIndex == -1) { return; } FormMountDefEdit FormM = new FormMountDefEdit(MountDefs.Listt[listMain.SelectedIndex]); FormM.ShowDialog(); FillList(); changed = true; }
private void listMain_DoubleClick(object sender, System.EventArgs e) { if(listMain.SelectedIndex==-1){ return; } FormMountDefEdit FormM=new FormMountDefEdit(MountDefC.Listt[listMain.SelectedIndex]); FormM.ShowDialog(); FillList(); changed=true; }
private void butAdd_Click(object sender, System.EventArgs e) { MountDef mount=new MountDef(); FormMountDefEdit FormM=new FormMountDefEdit(mount); FormM.IsNew=true; FormM.ShowDialog(); FillList(); changed=true; }