Exemplo n.º 1
0
        private void newProjectToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddListItemForm addListItemForm = new AddListItemForm();

            ShowAddListForm(addListItemForm);
            GetData();
        }
Exemplo n.º 2
0
        private void cmdAddListItem_Click(object sender, EventArgs e)
        {
            AddListItemForm addListItemForm = new AddListItemForm();

            ShowAddListForm(addListItemForm);

            GetData();
        }
Exemplo n.º 3
0
        private void cmdAddListItem_Click(object sender, EventArgs e)
        {
            AddListItemForm addListItemForm = new AddListItemForm();

            ShowAddListForm(addListItemForm);

            GetData();
        }
Exemplo n.º 4
0
        private void ShowAddListForm(AddListItemForm addListForm)
        {
            addListForm.StartPosition = FormStartPosition.CenterParent;

            System.Windows.Forms.DialogResult resultant = addListForm.ShowDialog();
            while (resultant == System.Windows.Forms.DialogResult.Retry)
            {
                resultant = addListForm.ShowDialog();
            }
        }
Exemplo n.º 5
0
        private void ShowAddListForm(AddListItemForm addListForm)
        {
            addListForm.StartPosition = FormStartPosition.CenterParent;

            System.Windows.Forms.DialogResult resultant = addListForm.ShowDialog();
            while (resultant == System.Windows.Forms.DialogResult.Retry)
            {
                resultant = addListForm.ShowDialog();
            }
        }
Exemplo n.º 6
0
 private void newProjectToolStripMenuItem_Click(object sender, EventArgs e)
 {
     AddListItemForm addListItemForm = new AddListItemForm();
     ShowAddListForm(addListItemForm);
     GetData();
 }