Exemplo n.º 1
0
        private void vinylsGrid_MouseDown(object sender, MouseEventArgs e)
        {
            var grid = sender as DataGridView;

            if (this.settings.ShowDoubleClickMessage && grid.RowCount > 0)
            {
                var form = new DontShowAgainForm("Double click item to open its edit form.");
                this.dialogForm = form;

                form.ShowDialog();
                this.settings.ShowDoubleClickMessage = !form.DontShow;
                this.settings.Save();

                this.dialogForm = null;
            }
        }
Exemplo n.º 2
0
        private void CarMode_MouseDown(object sender, MouseEventArgs e)
        {
            if (this.settings.ShowCarModesMessage)
            {
                var form = new DontShowAgainForm("The game gets car mode from the first blueprint.\n" +
                                                 "However you can still set different car modes \nfor each blueprint");

                this.dialogForm = form;

                this.dialogForm.ShowDialog();

                this.dialogForm = null;

                this.settings.ShowCarModesMessage = !form.DontShow;
                this.settings.Save();
            }
        }