Esempio n. 1
0
        private ToolType _selectAction;     // select tool type

        /// <summary>
        /// Constructor
        /// </summary>
        public MkaWndToolbar(MkaFrmAnnotator owner)
        {
            InitializeComponent();
            _owner = owner;
            this.uctrlGraphics.ChangeLast = true;
            tsSelect.Renderer             = new MkaToolStripSystemRenderer();
        }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
        /// <summary>
        /// Constructor
        /// </summary>
        public MkaFrmNewGlass(MkaFrmAnnotator owner)
        {
            InitializeComponent();
            _owner = owner;

            dtpDate.MinDate = MkaDefine.StartDate;
            dtpDate.MaxDate = DateTime.Today;
        }
Esempio n. 4
0
 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>();
 }
Esempio n. 5
0
        /// <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>();
        }
Esempio n. 6
0
 /// <summary>
 /// Constructor
 /// </summary>
 public MkaWndProperty(MkaFrmAnnotator owner)
 {
     InitializeComponent();
     _owner = owner;
 }
Esempio n. 7
0
 private MkaFrmAnnotator _owner;     // parent form
 /// <summary>
 /// Constructor
 /// </summary>
 public MkaWndSettings(MkaFrmAnnotator owner)
 {
     _owner = owner;
     InitializeComponent();
 }
Esempio n. 8
0
 /// <summary>
 /// Constructor
 /// </summary>
 public MkaWndMokkan(MkaFrmAnnotator owner)
 {
     InitializeComponent();
     _owner = owner;
 }