예제 #1
0
        public MainForm()
        {
            Program.Log.Info("Initializing");

            // Initialize
            InitializeComponent();

            // Set this instance
            Form = this;

            // Show Splash Screen
            Controls.Add(FormSplashScreen);
            FormSplashScreen.Anchor   = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Bottom;
            FormSplashScreen.Location = new Point(0, 0);
            FormSplashScreen.Size     = Form.ClientSize;
            FormSplashScreen.BringToFront();
            FormSplashScreen.Show();

            // Set default preferences
            ComboBoxType.SelectedIndex = 0;
            ComboBoxSort.SelectedIndex = 0;
            ComboBoxHost.SelectedIndex = 0;

            Program.Log.Info("Initialized");
        }
예제 #2
0
        public MainForm()
        {
            Program.Log.Info("Initializing");
            InitializeComponent();
            Form = this;

            Controls.Add(FormSplashScreen);
            FormSplashScreen.Anchor   = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Bottom;
            FormSplashScreen.Location = new Point(0, 0);
            FormSplashScreen.Size     = Form.ClientSize;
            FormSplashScreen.BringToFront();
            FormSplashScreen.Show();

            ListboxSearchType.SelectedIndex        = 0;
            DropdownSearchSort.SelectedIndex       = 0;
            DropdownSearchSizePrefix.SelectedIndex = 0;
            DateTimeMaxMTime.Value = DateTime.Now;
        }