private ToolType _selectAction; // select tool type /// <summary> /// Constructor /// </summary> public MkaWndToolbar(MkaFrmAnnotator owner) { InitializeComponent(); _owner = owner; this.uctrlGraphics.ChangeLast = true; tsSelect.Renderer = new MkaToolStripSystemRenderer(); }
static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); // idle start Application.Idle += new EventHandler(Application_Idle); loadFrm = new MkaFrmLoading(); loadFrm.Show(); Application.DoEvents(); // register file type Register(); // Check command line if (args.Length > 1) { MessageBox.Show("Incorrect number of arguments. Usage: MokkAnnotator.exe [filenames]", "MokkAnnotator"); } MkaFrmAnnotator form = new MkaFrmAnnotator(); if (args.Length == 1) { form.ArgumentFile = args[0]; } Application.Run(form); // idle end Application.Idle -= new EventHandler(Application_Idle); }
/// <summary> /// Constructor /// </summary> public MkaFrmNewGlass(MkaFrmAnnotator owner) { InitializeComponent(); _owner = owner; dtpDate.MinDate = MkaDefine.StartDate; dtpDate.MaxDate = DateTime.Today; }
public MkaBatManager(MkaFrmAnnotator owner) { this.Owner = owner; this.BatInfo = new MkaBatInfo(); this.GlassFilePaths = new List <String>(); this.ImageFilePaths = new List <String>(); this.GlassFileNames = new List <String>(); this.ImageFileNames = new List <String>(); }
/// <summary> /// Constructor /// </summary> public MkaWndExplorer(MkaFrmAnnotator owner) { InitializeComponent(); _owner = owner; BatSelected = false; tsList.Checked = true; treeExplorer.Visible = true; tsThumbnail.Checked = false; thumbExplorer.Visible = false; _thumbBmps = new List <Bitmap>(); }
/// <summary> /// Constructor /// </summary> public MkaWndProperty(MkaFrmAnnotator owner) { InitializeComponent(); _owner = owner; }
private MkaFrmAnnotator _owner; // parent form /// <summary> /// Constructor /// </summary> public MkaWndSettings(MkaFrmAnnotator owner) { _owner = owner; InitializeComponent(); }
/// <summary> /// Constructor /// </summary> public MkaWndMokkan(MkaFrmAnnotator owner) { InitializeComponent(); _owner = owner; }