Ejemplo n.º 1
0
        private void AddNewDocument_Click(object sender, EventArgs e)
        {
            DocumentPropertiesWindow propertiesWindow = new DocumentPropertiesWindow();

            propertiesWindow.Show();
            propertiesWindow.FormClosed += PropertiesWindow_FormClosed;;
        }
Ejemplo n.º 2
0
 private void DocumentsList_MouseDoubleClick(object sender, EventArgs e)
 {
     if (DocumentsList.SelectedItem != null)
     {
         var selectedItem = DocumentsList.SelectedItem as WareHouseDocument;
         DocumentPropertiesWindow propertiesWindow = new DocumentPropertiesWindow(selectedItem);
         propertiesWindow.Show();
         propertiesWindow.FormClosed += PropertiesWindow_FormClosed;
     }
 }