public Form1() { document = new Document(); option = new Option(); view1 = new View(document,option); view1.Parent = this; view1.Dock = DockStyle.Fill; view1.Show(); fnameBar = new FnameBar(document,option); fnameBar.Parent = this; fnameBar.Dock = DockStyle.Top; fnameBar.Show(); InitializeComponent(); // Windows �t�H�[�� �f�U�C�i �T�|�[�g�ɕK�v�ł��B // MRU���X�g��lj� mru = new csdiff.RecentFileList(); mru.Install( this, miFileMRU, statusBar1 ); mru.MenuClick += new MRUEventHandler(this.OnMRUClick); // �c�[���o�[�̗L����Ԃ�X�V���邽�߂ɃA�C�h���C�x���g��n���h�� Application.Idle += new EventHandler(application_Idle); // �w���v�t�@�C���̃t���p�X�����(�A�v���P�[�V�����̂���t�H���_) helpProvider1.HelpNamespace = Path.Combine(Application.StartupPath,helpProvider1.HelpNamespace); }
public FnameBar(Document paramDocument,Option paramOption) { /// <summary> /// Windows.Forms �N���X�쐬�f�U�C�i �T�|�[�g�ɕK�v�ł��B /// </summary> InitializeComponent(); this.SetStyle(ControlStyles.ResizeRedraw,true); this.SetStyle(ControlStyles.AllPaintingInWmPaint,true); this.SetStyle(ControlStyles.UserPaint,true); document = paramDocument; option = paramOption; }
public View(Document document,Option option) { m_document = document; m_option = option; InitializeComponent(); // ���̌Ăяo���́AWindows.Forms �t�H�[�� �f�U�C�i�ŕK�v�ł��B }
public OptionDlg(Option paramOption) { option = paramOption; InitializeComponent(); // Windows �t�H�[�� �f�U�C�i �T�|�[�g�ɕK�v�ł��B checkboxIgnoreBlank.Checked = option.bIgnoreBlank; }