Example #1
0
        private void HardwareButton_Click(object sender, EventArgs e)
        {
            var form = new HardwareForm();

            form.ShowDialog();
            form.Dispose();
        }
        private void HardwareButton_Click(object sender, RoutedEventArgs e)
        {
            var form = new HardwareForm();

            form.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            ControlsHelper.CheckTopMost(form);
            form.ShowDialog();
            form.Dispose();
        }