Пример #1
0
        private void metroTile1_Click(object sender, EventArgs e)
        {
            CreateNewWpf createNewPacketWindow = new CreateNewWpf(filterModel);

            createNewPacketWindow.Show();
        }
Пример #2
0
        private void showCreateNewPacketWindow(object sender, MouseButtonEventArgs e)
        {
            CreateNewWpf createNewPacketWindow = new CreateNewWpf(new NewPacketModel(model.database, model.Clerk));

            createNewPacketWindow.Show();
        }