Exemplo n.º 1
0
        public frmTerm(CTool form)
        {
            ct = form;
            InitializeComponent();

            splitContainer1.FixedPanel = FixedPanel.Panel1;
            splitContainer2.FixedPanel = FixedPanel.Panel2;

            AcceptButton = button5; //Send
            CancelButton = button4; //Close

            outputList_Initialize();

            // TopMost = Settings.Option.StayOnTop;

            // let form use multiple fonts
            origFont = Font;
            FontFamily ff = new FontFamily("Courier New");

            monoFont = new Font(ff, 8, FontStyle.Regular);
            Font     = /* Settings.Option.MonoFont ? */ monoFont /* : origFont*/;

            com_thread = new System.Threading.Thread(com_thread_proc);
            com_thread.Start();
        }
Exemplo n.º 2
0
 public frmComPort(CTool form)
 {
     parent = form;
     InitializeComponent();
 }