예제 #1
0
        private void button4_Click(object sender, EventArgs e)
        {
            Tool SelectedTool = null;

            if (SelectedUdlejning != null)
            {
                SelectedTool = SelectedUdlejning.Tool;
            }
            Retur MyDialog = new Retur(memberDropDown1.SelectedMember, SelectedTool);

            if (MyDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                ShowUdlejninger();
            }
        }
예제 #2
0
 private void button4_Click(object sender, EventArgs e)
 {
     Tool SelectedTool = null;
     if (SelectedUdlejning != null)
         SelectedTool = SelectedUdlejning.Tool;
     Retur MyDialog = new Retur(memberDropDown1.SelectedMember, SelectedTool);
     if (MyDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
         ShowUdlejninger();
 }