Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
        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;
        }
Exemplo n.º 3
0
		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;
		}
Exemplo n.º 4
0
		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;
		}